﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeometryViz3D.Model;
using GeometryViz3D.Views;
using GeometryViz3D.ViewModels;
using System.ComponentModel;

namespace GeometryViz3D.Services
{
    public class AddLineService : IAddLineService
    {
        public event PropertyChangedEventHandler PropertyChanged;

        public void AddLines(G3DModel model)
        {
            AddLineViewModel viewModel = new AddLineViewModel(model);
            AddLineDialog dlg = new AddLineDialog(viewModel);

            dlg.ShowDialog();
        }
    }
}
